Skip to content

Bump pyld from 2.0.4 to 3.0.0#394

Open
dependabot[bot] wants to merge 11 commits into
masterfrom
dependabot/pip/pyld-3.0.0
Open

Bump pyld from 2.0.4 to 3.0.0#394
dependabot[bot] wants to merge 11 commits into
masterfrom
dependabot/pip/pyld-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 6, 2026

Copy link
Copy Markdown
Contributor

Bumps pyld from 2.0.4 to 3.0.0.

Changelog

Sourced from pyld's changelog.

3.0.0 - 2026-04-02

Changed

  • BREAKING: Require supported Python version >= 3.10.
  • Update aiohttp document loader to work with Python 3.14.
    • Minimize async related changes to library code in this release.
    • In sync environment use asyncio.run.
    • In async environment use background thread.
  • The default test manifests or directories now default to the ./specifications directory.
  • Add ability to run test suites using pytest and make pytest the default way for running (unit)tests.
  • The functionality to resolve relative IRIs to absolute IRIs has been moved from context_resolver.py to iri_resolver.py so it can be maintained and tested separately.
    • Migrate the prepend_base(base, iri) function to the resolve(iri, base) function.
    • Move the existing function remove_dot_segments(path) and update the implementation.
    • Migrate the remove_base(base, iri) function to the unresolve(iri, base) function and update the implementation to use stdlib urllib.parse and urllib.unparse to replace the custom implementation.
    • Update code to use resolve(iri, base) and unresolve(iri, base) instead. Invalid base IRIs (including None) are no longer allowed, hence missing base IRIs in the JSON-LD context are now handled outside the function call.
    • Add unittests
  • BREAKING: the custom cause and traceback attributes on JsonLdError are replaced by Python exception chaining and the built-in __cause__ attribute.
  • BREAKING: The IdentifierIssuer class was moved to identifier_issuer.py. It's now available at pyld.identifier_issuer.
  • BREAKING: The classes URDNA2015 and URGNA2012 were moved to canon.py. They are now available at pyld.canon.
  • jsonld.expand() now accepts a on_property_dropped parameter which is a handler called on every ignored JSON property.
  • BREAKING: In cases where there is no document base (for instance, when using a string as input), 'http://example.org/base/' is used as the base IRI when @base is absent or explicitely set to null.
  • BREAKING: Some internal parameters were renamed from camelCase to pythonic:
    • requestProfile to request_profile in load_document()
    • rdfDirection to rdf_direction in _list_to_rdf() and _object_to_rdf()
Commits
  • 60fed98 Release 3.0.0
  • 8323558 Apply formatting to jsonld.py and other remaining source files
  • 0a35831 Add parameter renames to changelog
  • b85a6e8 Add parameter renames to changelog
  • 036399f Simplify and speedup has_value
  • 28fb19d Simplify and speedup compare_values
  • a9a9013 Speed up of compare_values and has_value methods by several orders of magnitude.
  • 8de8ce2 Fix linter issues
  • 8187597 Apply formatting to canon.py
  • 9acbe67 Make override work in <3.12
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 6, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/pyld-3.0.0 branch from 90a2d18 to e2981c5 Compare April 6, 2026 08:29
Bumps [pyld](https://github.com/digitalbazaar/pyld) from 2.0.4 to 3.0.0.
- [Changelog](https://github.com/digitalbazaar/pyld/blob/master/CHANGELOG.md)
- [Commits](digitalbazaar/pyld@v2.0.4...v3.0.0)

---
updated-dependencies:
- dependency-name: pyld
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/pyld-3.0.0 branch from e2981c5 to 97a6a4e Compare April 6, 2026 10:20
@anatoly-scherbakov

anatoly-scherbakov commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Test Diff Report

🎉 Newly passed!

  • 🟢 tests.test_https.test_expand[schema.org]

  • 🟢 tests.test_https.test_compact[schema.org]

  • 🟢 tests.test_https.test_flatten[schema.org/Person]

  • 🟢 tests.test_https.test_compact[schema.org/WebPage]

  • 🟢 tests.test_https.test_compact[schema.org/Person]

  • 🟢 tests.test_https.test_expand[schema.org/Person]

  • 🟢 tests.test_https.test_expand[schema.org/WebPage]

  • 🟢 tests.test_https.test_flatten[schema.org/WebPage]

  • 🟢 tests.test_https.test_flatten[schema.org]

  • 🟢 tests.test_specification.test_compact[compact-manifest#t0111]

  • 🟢 tests.test_specification.test_expand[basic-manifest#cir-scalar-i18n-1-positive]

  • 🟢 tests.test_specification.test_expand[basic-manifest#cir-scalar-other-1-positive]

  • 🟢 tests.test_specification.test_to_rdf[toRdf-manifest#tli14]

💥 Newly failed

  • 🔴 tests.test_specification.test_expand[basic-manifest#two-documents-from-stream]

  • 🔴 tests.test_specification.test_expand[basic-manifest#one-document-from-stream]

@github-actions

github-actions Bot commented Apr 6, 2026

Copy link
Copy Markdown

Test Diff Report

🎉 Newly passed!

  • 🟢 tests.test_specification.test_to_rdf[toRdf-manifest#tli14]

  • 🟢 tests.test_specification.test_compact[compact-manifest#t0111]

  • 🟢 tests.test_specification.test_expand[basic-manifest#cir-scalar-i18n-1-positive]

  • 🟢 tests.test_specification.test_expand[basic-manifest#cir-scalar-other-1-positive]

💥 Newly failed

  • 🔴 tests.test_specification.test_expand[basic-manifest#one-document-from-stream]

  • 🔴 tests.test_specification.test_expand[basic-manifest#two-documents-from-stream]

@dependabot @github

dependabot Bot commented on behalf of github Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

A newer version of pyld exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant